/**
 * 测试套件相关请求
 */
import request from "./request";


let api = '/api/manage/suite/'

export const addSuite = data => {
  return request({
    method: 'POST', 
    url: api,
    data
  })
};

export const updateSuite = data => {
  return request({
    method: 'PATCH',
    url: api,
    data
  })
}

export const deleteSuite = params => {
  return request({
    method: 'DELETE',
    url: api,
    params
  })
}

export const querySuite = params => {
  return request({
    method: 'GET',
    url: api,
    params
  })
}
 